<?php

namespace app\common\model;

use think\Model;
use think\Request;

/**
 * @property int $admin_id 技师ID
 * @property int $id
 * @property int $service_period_id 繁忙时段
 * @property string $busy_date 繁忙日期
 * @property string $create_time
 * @property string $update_time
 */
class AdminBusySd extends BaseModel
{
    // 表名
    protected $name = 'admin_busy_sd';
    protected $pk = 'id';
    const primaryKey = 'id';

    // 追加属性
    protected $append = [

    ];

    public static function __make(Request $request)
    {
        return (new self())->find($request->param(self::primaryKey));
    }
}
